package cn.cleanarch.infra.idp.uaa.core.domain.vo;

import java.time.LocalDateTime;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class UserDetailVO {

  private Long id; // userId
  private String username;
  private boolean enable;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime createTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private LocalDateTime updateTime;
  private ProfileVO profile;
  private List<RoleVO> roles;
  private RoleVO currentRole;
}